<?php
declare(strict_types=1);

Class c_zip extends Control
{
    public function index()
    {
        $zip = new module_zip();
        $data = [
            ['file_name'=>'index.php','path'=>'./c/index.php'],
            ['file_name'=>'excel.php','path'=>'./c/excel.php'],
            ['file_name'=>'sqls.php','path'=>'./c/sqls.php'],
        ];
        $zip->compress($data);
    }

}